package com.credithc.signature.job.configure.shutdown;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.annotation.PreDestroy;

/**
 * @desc: <br/>
 * @author: Jingbo Hu<br/>
 * @time：2021年06⽉02⽇<br/>
 * @version：v1.0.0<br>
 */
@Component
@Slf4j
public class TerminateBean {

    @PreDestroy
    public void preDestroy() {
        log.info("Service is destroyed .....");
    }
}
